/***********************************************************
* 
*     File Name:  cal.cpp
* 
*        Author:  Algolc
* 
*          mail:  17360224@qq.com
* 
*  Created Time:  Tue 03 Jul 2018 06:57:05 PM CST
* 
***********************************************************/
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
using namespace std;

int cal_fun(double i, double j, double k) {
    if (i/(j+k) + j/(i+k) + k/(i+j) == 4) {
        return 1;
    }
    return 0;
}

int main() {
    int apple;
    int banana;
    int polo;

    for (int i = 1; i < 10000; ++i) {
        for (int j = 1; j < 10000; ++j) {
            for (int k = 1; k < 10000; ++k) {
                if (cal_fun((double)i, (double)j, (double)k)) {
                    printf("%d %d %d\n", i, j, k);
                    break;
                }
            }

        }
    }
    return 0;
}
